@layout("/common/_container1.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal" id="newsInfoForm">

            <div class="row">
                <input type="hidden" id="orgId" value="${model.orgId}">
                <input type="hidden" id="code" value="${model.code}">
                <input type="hidden" value="${uploadUrl}" id="uploadUrl">
                <input type="hidden" value="${storageUrl}" id="storageUrl">
                <div class="col-sm-12 b-r">

                    <#input id="author" name="新闻作者" underline="true"/>
                    <#avatar  id="avatar" name="展示图"/>
                    <div class="progress progress-striped" id="progressTipArea" style="margin-top: 10px;">
                        <div id="progressBar" style="width: 0%" aria-valuemax="100" aria-valuemin="0" aria-valuenow="0"
                             role="progressbar" class="progress-bar progress-bar-info">
                        </div>
                    </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">标题<span style="color: red; ">*</span></label>
                    <div class="col-sm-9">
                        <textarea id="title" name="title" rows="3" style="width: 100%"></textarea>
                    </div>
                </div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">内容摘要<span style="color: red; ">*</span></label>
                        <div class="col-sm-9">
                            <textarea id="brief" name="brief" rows="3" style="width: 100%"></textarea>
                        </div>
                    </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">是否推荐</label>
                    <div class="col-sm-9">
                        <input type="radio" name="isComm" value="0"/>不推荐
                        <input type="radio" name="isComm" value="1" checked/>推荐
                        &nbsp;(注：决定是否首页显示的状态)
                    </div>

                </div>
                    <div class="hr-line-dashed"></div>
                    <div class="form-group">
                        <label class="col-sm-3 control-label">是否置顶</label>
                        <div class="col-sm-9">
                            <input type="radio" name="isTop" value="0"/>不置顶
                            <input type="radio" name="isTop" value="1" checked/>置顶
                        </div>
                    </div>
                    <div class="hr-line-dashed"></div>
                    <#input id="sort" name="排序值" underline="true" span="true"/>
                <div class="form-group">
                    <label class="col-sm-3 control-label" style="margin-left: -20px ">内容<span style="color: red;">*</span></label>
                    <div class="col-sm-9">
                        <div id="editor"  class="editorHeight">
                    </div>
                </div>
                </div>
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10" style="text-align: center">
                    <#button btnCss="info" name="发布" id="ensure" icon="fa-paper-plane" clickFun="PtNewsInfoDlg.addSubmit()"/>
                    <#button btnCss="danger" name="存草稿" id="cancel" icon="fa-clipboard" clickFun="PtNewsInfoDlg.draftSubmit()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/system/xymh/ptNews/ptNews_info.js"></script>
<script type="text/javascript" src="${ctxPath}/static/js/plugins/wangEditor/wangEditor.js"></script>
<script>
</script>
@}
